package mock;

public class MockDao implements IDao {

	public boolean exists(String orderNum) {
		if (orderNum.equals("12345")) {
			return true;
		} else {
			return false;
		}
	}

	public Order getOrder(String orderNum) {
		Order o = null;
		if (orderNum.equals("12345")) {
			o = new Order("12345", 5, 1000);

		}
		return o;
	}

}
